package cn.maxwell.system.mapper;

import cn.maxwell.basic.mapper.BaseMapper;
import cn.maxwell.basic.query.BaseQuery;
import cn.maxwell.system.domain.SysDictionaryT;

import java.util.List;

public interface SysDictionaryTMapper extends BaseMapper<SysDictionaryT> {
    //根据id查询
    SysDictionaryT loadById(Long id);

    //查询所有
    List<SysDictionaryT> loadAll();

    //添加
    void add(SysDictionaryT sysDictionaryT);

    //修改
    void update(SysDictionaryT sysDictionaryT);

    //删除
    void delete(Long id);

    //查询总条数
    Integer queryCount(BaseQuery baseQuery);

    //分页
    List<SysDictionaryT> queryData(BaseQuery baseQuery);

    //批量删除
    void patchDelete(List<Long> ids);
}
